In order to enable TRIM, you can open the "Terminal" application on your Mac, type in the command "sudo trimforce enable", and then enter your admin password to activate Trim.
The system will ask you twice to confirm the execution. After this, the system will automatically reboot to implement trim support.
Here's how to check whether TRIM is currently enabled by your system:
1. Click “About This Mac”
2. Open "System Report'
3. Check Trim status in "SATA/SATA Express"